﻿using System;
using System.Windows;
using Csla.Xaml;
using Accounting.Library;

namespace csla4Skeleton.UI.SL.NghiepVu.Kho.K_ListNhapKho
{
    public partial class K_ListNhapKho_ListViewModel : ViewModel<Accounting.Library.K_ListNhapKho>
    {

        public K_ListNhapKho_ListViewModel(DateTime date)
        {
            BeginRefresh("GetK_ListNhapKho", date.Day + ";" + date.Month +";" + date.Year);

        }

        public void GetK_ListNhapKho_ListViewModel(string mode)
        {
            BeginRefresh("GetK_ListNhapKho", mode);
        }

        public static readonly DependencyProperty SelectedItemProperty =
          DependencyProperty.Register("SelectedItem", typeof(K_ListNhapKhoInfo), typeof(K_ListNhapKho_ListViewModel), null);
        public K_ListNhapKhoInfo SelectedItem
        {
            get { return (K_ListNhapKhoInfo)GetValue(SelectedItemProperty); }
            set { SetValue(SelectedItemProperty, value); }
        }

       
    }
}
